package ${packageName};

import android.os.Bundle;

<#if applicationPackage??>
import ${applicationPackage}.R;
import ${applicationPackage}.base.BaseFragment;
</#if>


/**
 * Created by Liu on 2020/4/19.
 * 当前类注释:
 *
 *  ${activityTitle}
 *
 */
public class ${DrawerFragmentName} extends BaseFragment{

	
    @Override
    public int getLayoutId() {
        return R.layout.${fragment_drawer_layout_name};
    }

    @Override
    public void initPresenter() {
    }
	
	
	public static ${DrawerFragmentName} newInstance(String dataType) {
		${DrawerFragmentName} fragment = new ${DrawerFragmentName}();
        Bundle args = new Bundle();
        args.putString(AppConstant.INTENT_DATATYPE, dataType);
        fragment.setArguments(args);
        return fragment;
    }

    private String dataType="";//
    @Override
    public void initView(Bundle savedInstanceState) {
	 Bundle bundle = getArguments();
        if (bundle != null) {
            dataType = bundle.getString(AppConstant.INTENT_DATATYPE);
        }
    }
	
}
